package com.campus.service;

import com.campus.model.TeachingStudentLearning;

import java.util.Date;
import java.util.List;

public interface TeachingStudentLearningService {

    boolean createTeachingStudentLearning(Integer stuInClassId, Integer unitId, String finishedStatus, Date finishedTime);

    boolean updateTeachingStudentLearning(int id, String finishedStatus, Date finishedTime);

    boolean deleteTeachingStudentLearning(int id);

    TeachingStudentLearning getTeachingStudentLearningById(int id);

    List<TeachingStudentLearning> listAllStudentLearningByUnitId(int unitId);

    List<TeachingStudentLearning> listAllStudentLearning();
}
